<template>
    <div  class="cent">
        <div>
                    <br>
                    <h2>
                         病例史
                    </h2>
         </div>
                <el-divider></el-divider>
         <div>
                    <br>
                    <h2>
                        {{tuser.medicalhistory}}
                    </h2>
         </div>
    </div>
</template>
<script>
export default ({
      data(){
        return{
            user:{
            
        },
            tuser:{
                id:"",
                medicalhistory:""
            }
        }
        
    },
    created(){
         this.$store.commit("getTusers");
         this.tuser.id=sessionStorage.getItem("id");
         this.tuser.medicalhistory=sessionStorage.getItem("medicalhistory");
    }
})
</script>
<style scoped>
    .cent{
        position: absolute;
        top: 100px;
        bottom: 100px;
        left: 0;
        right: 0;
        margin: auto;
        border: 1px black solid;
        width:80%;
        height: 85%;
    }

</style>
